﻿Public Class NhapChiTietBL
    Dim nctDA As New NhapChiTietDA

    Public Function InNhapCT(ByVal nct As NhapChiTietDT)
        Return nctDA.InNhapCT(nct)
    End Function

    Public Function UpNhapCT(ByVal nct As NhapChiTietDT, ByVal flagIsUp As Boolean)
        Return nctDA.UpNhapCT(nct)
    End Function

    Public Function GetData(ByVal dieukien As String)
        Return nctDA.GetData(dieukien)
    End Function

    Public Function GetSTT(ByVal manhap As String)
        Return nctDA.GetSTT(manhap)
    End Function

    Public Function GetTong(ByVal ma As String, ByVal loai As Integer)
        Return nctDA.TinhTongSoLuong(ma, loai)
    End Function
End Class
